package com.eascs.admin.o2o.loan.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.eascs.admin.o2o.loan.dao.O2oLoanapplyExpandRecordDao;
import com.eascs.admin.o2o.loan.entity.O2oLoanapplyExpandRecord;

@Service
public class O2oLoanapplyExpandRecordService implements IO2oLoanapplyExpandRecordService {
	
	@Autowired
	O2oLoanapplyExpandRecordDao dao;

	@Override
	public int insert(O2oLoanapplyExpandRecord record) {
		return dao.insert(record);
	}

	@Override
	public int update(O2oLoanapplyExpandRecord record) {
		return dao.updateById(record);
	}

	@Override
	public O2oLoanapplyExpandRecord queryById(String loanapplyNo) {
		return dao.queryById(loanapplyNo);
	}

}
